<template>
    <transition>
    <header>
        <slot name="icon"></slot>
        <slot name="text"></slot>
        <slot name="right"></slot>
    </header>
    </transition>
</template>

<script>
    import bus from '../bus.js'
    export default{
        
    }
</script>

<style>
    header{
        width: 100%;
        position: fixed;
        height: 44px;
        line-height: 44px;
        box-shadow: 0 1px 5px rgba(0,0,0,.2);
        background: #0e77e4;
        z-index: 100;
    }
    .title{
      color: #fff;
      font-size: 18px;
      display: inline-block;
      margin-left: calc(50% - 95px )
  }
  
</style>
